import request from '@/router/axios';

export const getList = (current, size, params) => {
  return request({
    url: '/api/rb-merchant/merchant/memberRechargeActivity/list',
    method: 'get',
    params: {
      ...params,
      current,
      size
    }
  })
}

export const getStatistics = (params) => {
  return request({
    url: '/api/rb-merchant/merchant/memberRechargeActivity/statistics',
    method: 'get',
    params: {
      ...params,
    }
  })
}

export const add = (row) => {
  return request({
    url: '/api/rb-merchant/merchant/memberRechargeActivity/add',
    method: 'post',
    data: row
  })
}
